package com.mutual.reins.config.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author CodeGenerate
 * @since 2021-04-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class FhSection implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * --** 合约号
     */
    @TableField("TREATYNO")
    private String treatyNo;

    /**
     * --** 层号
     */
    @TableField("SECTIONNO")
    private String sectionNo;

    /**
     * --** 险类号
     */
    @TableField("CLASSCODE")
    private String classCode;

    /**
     * --** 险类中文描述
     */
    @TableField("SECTIONCDESC")
    private String sectionCdesc;

    /**
     * --** 险类英文描述
     */
    @TableField("SECTIONEDESC")
    private String sectionEdesc;

    /**
     * --** 币别
     */
    @TableField("CURRENCY")
    private String currency;

    /**
     * --** 自留额
     */
    @TableField("RETENTIONVALUE")
    private BigDecimal retentionValue;

    @TableField("REINSURERATE")
    private BigDecimal reinsureRate;

    @TableField("INSHARERATE")
    private BigDecimal inShareRate;

    /**
     * --** 线数
     */
    @TableField("LINES")
    private BigDecimal lines;

    @TableField("LIMITVALUE")
    private BigDecimal limitValue;

    @TableField("LOWERLIMITVALUE")
    private BigDecimal lowerLimitValue;

    @TableField("COMMFLAG")
    private String commFlag;

    @TableField("LARGELOSSVALUE")
    private BigDecimal largeLossValue;

    @TableField("CASHLOSSVALUE")
    private BigDecimal cashLossValue;

    @TableField("CLEANMODE")
    private String cleanMode;

    /**
     * --** 非中行主共业务比例
     */
    @TableField("MAINCOINSRATE")
    private BigDecimal mainCoinsRate;

    /**
     * --** 非中行主共业务比例
     */
    @TableField("SUBCOINSRATE")
    private BigDecimal subCoinsRate;

    /**
     * --** 中行业务比例
     */
    @TableField("SHAREHOLDERRATE")
    private BigDecimal shareholderRate;

    @TableField("SHAREHOLDERLINES")
    private BigDecimal shareHolderLines;

    @TableField("INRATE")
    private BigDecimal inRate;

    @TableField("PCCLEANMODE")
    private String pcCleanMode;

    @TableField("ACCMODE")
    private String accMode;

    @TableField("OSLOSSRATE")
    private BigDecimal osLossRate;

    @TableField("EXPENSERATE")
    private BigDecimal expenseRate;

    @TableField("CARRIEDYRS")
    private Integer carriedyrs;

    @TableField("PCSTARTMTHS")
    private Integer pcStartMths;

    @TableField("EXPENSEIND")
    private String expenseInd;

    @TableField("PCADJUSTMETH")
    private String pcAdjustMeth;

    @TableField("PCMINRATE")
    private BigDecimal pcMinRate;

    @TableField("PCMAXRATE")
    private BigDecimal pcMaxRate;

    @TableField("PCCOMPBASE")
    private BigDecimal pcCompBase;

    @TableField("PCCOMPSTEP")
    private BigDecimal pcCompStep;

    @TableField("PCRATESTEP")
    private BigDecimal pcRateStep;

    @TableField("FLAG")
    private String flag;

    @TableField("CASHLOSSFLAG")
    private String cashLossFlag;

    @TableField("CLEANYEAR")
    private BigDecimal cleanYear;

    @TableField("LOWPAIDRATE")
    private BigDecimal lowPaidRate;

    @TableField("UPPERPAIDRATE")
    private BigDecimal upperPaidRate;

    @TableField("BASEPAYRATE")
    private BigDecimal basePayRate;

    @TableField("ADJUSTCOMMRATE")
    private BigDecimal adjustCommRate;

    @TableField("ADJUSTRATE")
    private BigDecimal adjustRate;

    /**
     * --** 中行主共业务比例
     */
    @TableField("SHAREHOLDERMAINCOINSRATE")
    private BigDecimal shareholderMainCoinsRate;

    /**
     * --** 中行从共业务比例
     */
    @TableField("SHAREHOLDERSUBCOINSRATE")
    private BigDecimal shareholderSubCoinsRate;

    /**
     * 我司承担份额
     */
    @TableField("BASERATE")
    private BigDecimal baseRate;

    @TableField("UPEROS")
    private BigDecimal upEros;

    @TableField("OSFLAG")
    private String osFlag;

    @TableField("LOWOS")
    private BigDecimal lowos;

    @TableField("CLEANRATE")
    private BigDecimal cleanRate;

    @TableField("CLEANFLAG")
    private String cleanFlag;

    @TableField("CLEANDATE")
    private LocalDateTime cleanDate;

    @TableField("ACCIDENTTYPE")
    private String accidentType;

    @TableField("ACCIDENTTYPEVALUE")
    private BigDecimal accidentTypeValue;

    @TableField("LIABILITYLIMITVALUE")
    private BigDecimal liabilityLimitValue;

    @TableField("LIABILITYLIMITVALUES")
    private BigDecimal liabilityLimitValues;

    @TableField("SHAREHOLDERLIMRATE")
    private BigDecimal shareholderLimRate;

    @TableField("UNSHAREHOLDERLIMRATE")
    private BigDecimal unShareholderLimRate;

    @TableField("ATTACHMENTBASIS")
    private String attachmentBasis;

    @TableField("LOSSSHARERATE")
    private BigDecimal lossShareRate;

    @TableField("SPECIALCOMMRATE")
    private BigDecimal specialCommRate;

    /**
     * 分入业务进溢额合约线数
     */
    @TableField("INLINES")
    private BigDecimal inLines;


}
